package org.jeecg.modules.demo.zyExam.zypapermanage.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 试卷题目中间表
 * @Author: jeecg-boot
 * @Date:   2024-01-07
 * @Version: V1.0
 */
@Data
@TableName("zy_paper_manage")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(name="zy_paper_manage对象", description="试卷管理")
public class ZyPaperManage implements Serializable {
    private static final long serialVersionUID = 1L;
    /**工地id*/
    @Excel(name = "工地id", width = 15)
    @Schema(name = "工地id", description = "工地id")
    private String siteId;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(name = "id", description = "id")
    private String id;
	/**题目类型*/
	@Excel(name = "题目类型", width = 15)
    @Schema(name = "题目类型", description = "题目类型")
    private int questionType;
	/**题目编码*/
	@Excel(name = "题目编码", width = 15)
    @Schema(name = "题目编码", description = "题目编码")
    private String questionCode;
	/**试卷编码*/
	@Excel(name = "试卷编码", width = 15)
    @Schema(name = "试卷编码", description = "试卷编码")
    private String paperCode;

    public ZyPaperManage(String paperCode, int questionType, String questionCode) {
        this.paperCode = paperCode;
        this.questionType = questionType;
        this.questionCode = questionCode;
    }
}
